package com.hfzy.ihk.web.userCenter.service.impl;

import com.hfzy.ihk.facade.userCenter.entity.Resource;
import com.hfzy.ihk.facade.userCenter.entity.UserInfo;
import com.hfzy.ihk.facade.userCenter.service.IUserService;
import com.hfzy.ihk.web.userCenter.mapper.UserMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用于集成spring security 服务实现类
 * </p>
 *
 * @author wws
 * @since 2018-12-28
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, UserInfo> implements IUserService {

    @Override
    public UserInfo findUserByUserName(String username) {
        return baseMapper.findUserByUserName(username);
    }

    @Override
    public List<Resource> querybtnPermissionByUserName(String username) {
        return null;
    }
}
